Optimal. Leaf size=175 \[ \frac {b (e x)^{1+m}}{a (b c-a d) e n \left (a+b x^n\right )}+\frac {b (a d (1+m-2 n)-b c (1+m-n)) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {b x^n}{a}\right )}{a^2 (b c-a d)^2 e (1+m) n}+\frac {d^2 (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {d x^n}{c}\right )}{c (b c-a d)^2 e (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 175, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {518, 611, 371}
\begin {gather*} \frac {b (e x)^{m+1} (a d (m-2 n+1)-b c (m-n+1)) \, _2F_1\left (1,\frac {m+1}{n};\frac {m+n+1}{n};-\frac {b x^n}{a}\right )}{a^2 e (m+1) n (b c-a d)^2}+\frac {d^2 (e x)^{m+1} \, _2F_1\left (1,\frac {m+1}{n};\frac {m+n+1}{n};-\frac {d x^n}{c}\right )}{c e (m+1) (b c-a d)^2}+\frac {b (e x)^{m+1}}{a e n (b c-a d) \left (a+b x^n\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 518
Rule 611
Rubi steps
\begin {align*} \int \frac {(e x)^m}{\left (a+b x^n\right )^2 \left (c+d x^n\right )} \, dx &=\frac {b (e x)^{1+m}}{a (b c-a d) e n \left (a+b x^n\right )}-\frac {\int \frac {(e x)^m \left (b c (1+m-n)+a d n+b d (1+m-n) x^n\right )}{\left (a+b x^n\right ) \left (c+d x^n\right )} \, dx}{a (b c-a d) n}\\ &=\frac {b (e x)^{1+m}}{a (b c-a d) e n \left (a+b x^n\right )}-\frac {\int \left (\frac {b (-a d (1+m-2 n)+b c (1+m-n)) (e x)^m}{(b c-a d) \left (a+b x^n\right )}+\frac {a d^2 n (e x)^m}{(-b c+a d) \left (c+d x^n\right )}\right ) \, dx}{a (b c-a d) n}\\ &=\frac {b (e x)^{1+m}}{a (b c-a d) e n \left (a+b x^n\right )}+\frac {d^2 \int \frac {(e x)^m}{c+d x^n} \, dx}{(b c-a d)^2}+\frac {(b (a d (1+m-2 n)-b c (1+m-n))) \int \frac {(e x)^m}{a+b x^n} \, dx}{a (b c-a d)^2 n}\\ &=\frac {b (e x)^{1+m}}{a (b c-a d) e n \left (a+b x^n\right )}+\frac {b (a d (1+m-2 n)-b c (1+m-n)) (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {b x^n}{a}\right )}{a^2 (b c-a d)^2 e (1+m) n}+\frac {d^2 (e x)^{1+m} \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {d x^n}{c}\right )}{c (b c-a d)^2 e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 141, normalized size = 0.81 \begin {gather*} \frac {x (e x)^m \left (\frac {b^2 c-a b d}{a^2 n+a b n x^n}+\frac {b (a d (1+m-2 n)-b c (1+m-n)) \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {b x^n}{a}\right )}{a^2 (1+m) n}+\frac {d^2 \, _2F_1\left (1,\frac {1+m}{n};\frac {1+m+n}{n};-\frac {d x^n}{c}\right )}{c+c m}\right )}{(b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.11, size = 0, normalized size = 0.00 \[\int \frac {\left (e x \right )^{m}}{\left (a +b \,x^{n}\right )^{2} \left (c +d \,x^{n}\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e\,x\right )}^m}{{\left (a+b\,x^n\right )}^2\,\left (c+d\,x^n\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________